package com.brillilab.dao.mapper.method;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.brillilab.domain.po.method.MethodTypePower;
import com.brillilab.domain.vo.method.MethodTypePowerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MethodTypePowerMapper extends BaseMapper<MethodTypePower> {

    Integer getCurrentVersion(Long initMethodId);

    List<MethodTypePowerVo> selectMethodTypeByMemberId(@Param("labmemberid")Long labmemberid);

    List<MethodTypePowerVo> selectAllFirstMethodList();

    int deleteByLabMemberId(@Param("labmemberId")Long labmemberid);

    List<MethodTypePower> selectMethodTypePower(@Param("labmemberid")Long labmemberid);

    int addMethodTypePowerBatch(List<MethodTypePower> list);
}
